[2022-10-12 18:46:16:868:868129  COM3]:MiFlash 2022.5.7.0
[2022-10-12 18:46:16:868:868129  COM3]:vboytest index:3
[2022-10-12 18:46:16:883:883751  COM3]:flash in thread name:COM3,id:9
[2022-10-12 18:46:16:883:883751  COM3]:vboytest do open :
[2022-10-12 18:46:16:899:899373  COM3]: serial port COM3 opend successfully
[2022-10-12 18:46:16:899:899373  COM3]:[COM3]:start flash.
[2022-10-12 18:46:17:591:591864  COM3]:cannot receive hello packet,MiFlash is trying to reset status!
[2022-10-12 18:46:18:800:800658  COM3]:try to reset status.
[2022-10-12 18:46:18:800:800658  COM3]:清理端口数据，准备发送SAHARA_SWITCH_MODE_PACKET
[2022-10-12 18:46:20:849:849898  COM3]:write time out try agian 1
[2022-10-12 18:46:23:411:411040  COM3]:write time out try agian 2
[2022-10-12 18:46:25:932:932636  COM3]:write time out try agian 3
[2022-10-12 18:46:28:454:454090  COM3]:write time out try agian 4
[2022-10-12 18:46:30:986:986773  COM3]:write time out try agian 5
[2022-10-12 18:46:33:505:505136  COM3]:write time out try agian 6
[2022-10-12 18:46:34:021:021338  COM3]:write failed:The port is closed.
[2022-10-12 18:46:34:052:052399  COM3]:error:The write timed out.
[2022-10-12 18:46:34:068:068021  COM3]:System.Exception: write time out,maybe device was disconnected.
   at XiaoMiFlash.code.Utility.Comm.WritePort(Byte[] send, Int32 offSet, Int32 count)
   at XiaoMiFlash.code.bl.SerialPortDevice.SaharaDownloadProgrammer(Int32 programmertype)
   at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlashNew()     at XiaoMiFlash.code.Utility.Comm.WritePort(Byte[] send, Int32 offSet, Int32 count)
   at XiaoMiFlash.code.bl.SerialPortDevice.SaharaDownloadProgrammer(Int32 programmertype)
   at XiaoMiFlash.code.bl.SerialPortDevice.XiaomiFlashNew()
